/**
 * 
 */
package com.sogeti.mentormatch;

/**
 * Wraps a violation string with an accessor method and contains error strings
 * for display.
 * 
 * @author Matthew L. Maurer <matthew.maurer@us.sogeti.com>
 */
public class DataAccessViolation
{
    public static final String DUPLICATE_USER_CREATION = "Duplicate users not allow";

    private String             dataViolation;

    public DataAccessViolation ( String dataViolationToSet ) {
        this.dataViolation = dataViolationToSet;
    }

    /**
     * @return the dataViolation
     */
    public String getDataViolation ( ) {
        return dataViolation;
    }
}
